﻿using System;
using PM.BusinessLayer;

public partial class Authentificated : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!AppSecurityContext.IsAuthenticated)
            Response.Redirect(AppSecurityContext.DefaultUrl);

        UserInfo.Visible = AppSecurityContext.IsAuthenticated;
    }
}
